import { login } from './login'
import { userInfo, editProfile, editAvatar, followUser, unfollowUser } from './user'
import { channel, channelsAll, addChannel, delChannel } from './channel'
import {
    article,
    articleInfo,
    zan,
    unzan,
    unlike,
    cancelUnlike
} from './article'
import { search, suggest } from './search'
import { cmtList, conment } from './comment'

export const loginAPI = login
export const userInfoAPI = userInfo
export const editProfileAPI = editProfile
export const editAvatarAPI = editAvatar
export const channelAPI = channel
export const articleAPI = article
export const searchAPI = search
export const articleInfoAPI = articleInfo
export const cmtListAPI = cmtList
export const conmentAPI = conment
export const channelsAllAPI = channelsAll
export const addChannelAPI = addChannel
export const delChannelAPI = delChannel
export const suggestAPI = suggest
export const followUserAPI = followUser
export const unfollowUserAPI = unfollowUser
export const zanAPI = zan
export const unzanAPI = unzan
export const unlikeAPI = unlike
export const cancelUnlikeAPI = cancelUnlike